<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>

<title><s:if test='FLAG=="EDIT"'>『编辑』</s:if><s:else>『添加』</s:else>&nbsp;法人授信业务支持信息表</title><span id="navlink"> 企业客户信息登记  >> 法人授信业务支持信息表</span>

<form name="newCompanyManage" action="customActionDo!givingcreditsave" method="post" id="formcm">
<input type="hidden" name="cgivingcredit.id" value="${cgivingcredit.id}" />
<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
 <tr>
<td align="right">客户ID</td>
<td>RF02<s:if test='FLAG=="EDIT"'>
<input type="text" class="companyid" readonly="readonly" name="cgivingcredit.cid" value="${cgivingcredit.cid}" />
</s:if>	
<s:else>
	<input type="text" class="companyid" readonly="readonly" name="cgivingcredit.cid" value="${sessionScope.companyid}" />
</s:else>
</td>
<td align="right">授信客户类型</td>
<td><input type="text" name="cgivingcredit.customertypes" value="${cgivingcredit.customertypes}" /></td>
</tr>
<tr>
<td align="right">资本充足率</td>
<td><input type="text" name="cgivingcredit.capitaladequacyratio" value="${cgivingcredit.capitaladequacyratio}" /></td>
<td align="right">不良资产率</td>
<td><input type="text" name="cgivingcredit.nonperformingassetsratio" value="${cgivingcredit.nonperformingassetsratio}" /></td>
</tr>
<tr>
<td align="right">认可资产</td>
<td><input type="text" name="cgivingcredit.recognizedassets" value="${cgivingcredit.recognizedassets}" /></td>
<td align="right">认可负债</td>
<td><input type="text" name="cgivingcredit.recognizedliabilities" value="${cgivingcredit.recognizedliabilities}" /></td>
</tr>

</table>

<div id="button_area"><input type="submit" value="提交"/></div>
	
</form>

<input type="hidden" id="eflage" name="eflage" value="${sessionScope.eflage }" />
<script type="text/javascript">
<!--
	$(document).ready(function(){
		if($("#eflage").val() === 'show'){
			$("input[type='text']").prop("readonly", true);
			$("input[type='select']").prop("disabled", true);
			$("input[type='text']").addClass("companyid");
			//$("input[type='select']").addClass("companyid");
			$("#button_area").hide();
			$("#left_area").hide();
			$(".del").hide();
			$(".smodify").html('浏览');
			
		}
	});
//-->
</script>
